home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
saferpatches
/
saferpatches.doc
< prev
next >
Wrap
Text File
|
1992-10-04
|
3KB
|
110 lines
SaferPatches 2.0 4-Oct-92
~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> SaferPatches requiers KS 1.2 or higher <<<<
This little program will make Your Amiga a bit safer to use.
It fixes the problems occuring when different programs change
the same library vector. (e.g. Both Xoper and CodeProbe will change
the AddTask function in exec.library)
Without SaferPatches the Amiga will crash if the programs are not
terminated in the right order.
SaferPatches remembers the patches made and restores them in
correct order.
This program may not work correctly if:
~~~
(though Your amiga will always work better than without SaferPatches)
1. The caller looks directly into the library base to find
the old function. (e.g. Xoper ver 2.3) (Illegal !!)
2. The caller is smart and checks in the library base to be sure
that no one has patched the same vector before restoring the
old function.
3. Patches made to dos.library before KS 2.0 is ignored by SaferPatches.
The program uses ~900 bytes + 14 bytes for each patch made.
Usage:
>> CLI:
1> SaferPatches
SaferPatches is self-dataching [No need to run]
>> WB:
Click on the SaferPatches icon.
If You want SaferPatches to automaticly startup please note:
>>> SaferPatches should be started before any program that may restore
a patch. (After SetPatch or UnArp is OK)
If You start SaferPatches after e.g. PopUpMenu You will lose some
memory when You quit PopUpMenu. (ShowPatch will also tell You
that the patches made by PopUpMenu are still active).
(First line in S:User-Startup recommended.
Use a high STARTPRI if You put SaferPatches in the WBStartUp drawer)
Warning:
SaferPatches can not be removed from memory.
KS2.0 users may look at patches made via the ShowPatch program.
ShowPatch 2.0 4-oct-92
~~~~~~~~~~~~~~~~~~~~~~~
>>>> ShowPatch requiers KS 2.04 or higer <<<<
If You have SaferPatches installed You can look at all currently
active patches with the program ShowPatch.
Usage: ShowPatch [USEWINDOW] [NOFD]
1> ShowPatch
Offset New Old Name
Library: exec.library
36 318786 20132c Switch
11a 331240 318a20 AddTask
11a 318a20 2021d8 AddTask
Libaray: icon.library
.
.
.
The names are recieved from the corresponding FD file.
"FD:" must be assigned to a directory containing the FD files.
NOFD will disable this feature.
"Library" may also be a device.
"Old" is the function that was active before the patch.
If more than one entry is present with the same offset,
the first is the last one made. ("Old" in the first is "New"
in the second ...)
If You start ShowPatch from WB or if You use the USEWINDOW flag,
the patches will be shown in a window.
Only the NOFD flag is considered when run from WB.
Distribution
~~~~~~~~~~~~
SaferPatches, ShowPatch and the sourcecode are Public Domain.
I don't care if someone tries to make money on the programs (good luck),
changes the source, etc.
Author: Martin Adrian
Rullharvsgatan 3A
S-431 47 Mölndal
SWEDEN